[INFO] fetching crate otlp-exporter 0.1.0...
[INFO] checking otlp-exporter-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate otlp-exporter 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate otlp-exporter 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate otlp-exporter 0.1.0
[INFO] finished tweaking crates.io crate otlp-exporter 0.1.0
[INFO] tweaked toml for crates.io crate otlp-exporter 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded grpcio v0.12.1
[INFO] [stderr]   Downloaded boringssl-src v0.5.2+6195bf8
[INFO] [stderr]   Downloaded grpcio-sys v0.12.1+1.46.5-patched
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2aacfd106a18fd40df663359d6f7bd3507eb05d5fb9ec5bcf8900fc3998555f8
[INFO] running `Command { std: "docker" "start" "-a" "2aacfd106a18fd40df663359d6f7bd3507eb05d5fb9ec5bcf8900fc3998555f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2aacfd106a18fd40df663359d6f7bd3507eb05d5fb9ec5bcf8900fc3998555f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2aacfd106a18fd40df663359d6f7bd3507eb05d5fb9ec5bcf8900fc3998555f8", kill_on_drop: false }`
[INFO] [stdout] 2aacfd106a18fd40df663359d6f7bd3507eb05d5fb9ec5bcf8900fc3998555f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d3c2fab035ab166aede0c9b468803a1c3854ea98ccc873e08cc84ec9d8c99ef
[INFO] running `Command { std: "docker" "start" "-a" "8d3c2fab035ab166aede0c9b468803a1c3854ea98ccc873e08cc84ec9d8c99ef", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking temp-env v0.3.6
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking ordered-float v3.9.2
[INFO] [stderr]     Checking thiserror v1.0.57
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking opentelemetry_api v0.20.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking opentelemetry_sdk v0.20.0
[INFO] [stderr]     Checking opentelemetry-proto v0.3.0
[INFO] [stderr]     Checking opentelemetry v0.20.0
[INFO] [stderr]     Checking otlp-exporter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.12.0
[INFO] [stdout] error[E0425]: cannot find function `default_protocol` in this scope
[INFO] [stdout]    --> src/config.rs:412:13
[INFO] [stdout]     |
[INFO] [stdout] 412 |             default_protocol(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `default_protocol` in this scope
[INFO] [stdout]    --> src/config.rs:590:24
[INFO] [stdout]     |
[INFO] [stdout] 590 |         let protocol = default_protocol();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Protocol` is non-empty
[INFO] [stdout]    --> src/config.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match self {
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Protocol` defined here
[INFO] [stdout]    --> src/config.rs:249:10
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub enum Protocol {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     = note: the matched value is of type `&Protocol`
[INFO] [stdout]     = note: references are always considered inhabited
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 260 ~         match self {
[INFO] [stdout] 261 +             _ => todo!(),
[INFO] [stdout] 262 +         }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `otlp-exporter` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `super::OTEL_EXPORTER_OTLP_LOGS_ENDPOINT`, `super::OTEL_EXPORTER_OTLP_LOGS_HEADERS`, `super::OTEL_EXPORTER_OTLP_METRICS_ENDPOINT`, `super::OTEL_EXPORTER_OTLP_METRICS_HEADERS`, `super::OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`, `super::OTEL_EXPORTER_OTLP_TRACES_HEADERS`
[INFO] [stdout]    --> src/config.rs:721:37
[INFO] [stdout]     |
[INFO] [stdout] 721 |         OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_LOGS_ENDPOINT,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` in `config`
[INFO] [stdout] 722 |         OTEL_EXPORTER_OTLP_LOGS_HEADERS, OTEL_EXPORTER_OTLP_METRICS_ENDPOINT,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` in `config`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         no `OTEL_EXPORTER_OTLP_LOGS_HEADERS` in `config`
[INFO] [stdout] 723 |         OTEL_EXPORTER_OTLP_METRICS_HEADERS, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` in `config`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         no `OTEL_EXPORTER_OTLP_METRICS_HEADERS` in `config`
[INFO] [stdout] 724 |         OTEL_EXPORTER_OTLP_TRACES_HEADERS,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OTEL_EXPORTER_OTLP_TRACES_HEADERS` in `config`
[INFO] [stdout]     |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 721 |         OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_ENDPOINT,
[INFO] [stdout]     |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 722 |         OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_METRICS_ENDPOINT,
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 722 |         OTEL_EXPORTER_OTLP_LOGS_HEADERS, OTEL_EXPORTER_OTLP_ENDPOINT,
[INFO] [stdout]     |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 723 |         OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 723 |         OTEL_EXPORTER_OTLP_METRICS_HEADERS, OTEL_EXPORTER_OTLP_ENDPOINT,
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]     |
[INFO] [stdout] 724 |         OTEL_EXPORTER_OTLP_HEADERS,
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `default_protocol` in this scope
[INFO] [stdout]    --> src/config.rs:412:13
[INFO] [stdout]     |
[INFO] [stdout] 412 |             default_protocol(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `default_protocol` in this scope
[INFO] [stdout]    --> src/config.rs:590:24
[INFO] [stdout]     |
[INFO] [stdout] 590 |         let protocol = default_protocol();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Protocol` is non-empty
[INFO] [stdout]    --> src/config.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match self {
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Protocol` defined here
[INFO] [stdout]    --> src/config.rs:249:10
[INFO] [stdout]     |
[INFO] [stdout] 249 | pub enum Protocol {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     = note: the matched value is of type `&Protocol`
[INFO] [stdout]     = note: references are always considered inhabited
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
[INFO] [stdout]     |
[INFO] [stdout] 260 ~         match self {
[INFO] [stdout] 261 +             _ => todo!(),
[INFO] [stdout] 262 +         }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/config.rs:735:23
[INFO] [stdout]     |
[INFO] [stdout] 734 |         ConfigBuilder::default()
[INFO] [stdout]     |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 735 |             .with_env(data_type)
[INFO] [stdout]     |                       ^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout] note: this expression has type `ConfigBuilder`, which is uninhabited
[INFO] [stdout]    --> src/config.rs:734:9
[INFO] [stdout]     |
[INFO] [stdout] 734 |         ConfigBuilder::default()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_type`
[INFO] [stdout]    --> src/config.rs:733:30
[INFO] [stdout]     |
[INFO] [stdout] 733 |     fn build_config_with_env(data_type: Option<DataType>) -> Config {
[INFO] [stdout]     |                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/config.rs:758:21
[INFO] [stdout]     |
[INFO] [stdout] 757 |                     build_config_with_env(None).endpoint().to_string(),
[INFO] [stdout]     |                     --------------------------- any code following this expression is unreachable
[INFO] [stdout] 758 |                     expected_endpoint_with_slash
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout] note: this expression has type `config::Config`, which is uninhabited
[INFO] [stdout]    --> src/config.rs:757:21
[INFO] [stdout]     |
[INFO] [stdout] 757 |                     build_config_with_env(None).endpoint().to_string(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/config.rs:916:68
[INFO] [stdout]     |
[INFO] [stdout] 916 |                 assert_eq!(build_config_with_env(None).headers(), &otlp_headers);
[INFO] [stdout]     |                            ---------------------------             ^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout] note: this expression has type `config::Config`, which is uninhabited
[INFO] [stdout]    --> src/config.rs:916:28
[INFO] [stdout]     |
[INFO] [stdout] 916 |                 assert_eq!(build_config_with_env(None).headers(), &otlp_headers);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/config.rs:892:68
[INFO] [stdout]     |
[INFO] [stdout] 892 |                 assert_eq!(build_config_with_env(None).headers(), &otlp_headers);
[INFO] [stdout]     |                            ---------------------------             ^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            any code following this expression is unreachable
[INFO] [stdout]     |
[INFO] [stdout] note: this expression has type `config::Config`, which is uninhabited
[INFO] [stdout]    --> src/config.rs:892:28
[INFO] [stdout]     |
[INFO] [stdout] 892 |                 assert_eq!(build_config_with_env(None).headers(), &otlp_headers);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/config.rs:873:17
[INFO] [stdout]     |
[INFO] [stdout] 873 |                 assert_eq!(build_config_with_env(None).headers(), &default_headers());
[INFO] [stdout]     |                 ^^^^^^^^^^^---------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |          |
[INFO] [stdout]     |                 |          any code following this expression is unreachable
[INFO] [stdout]     |                 unreachable expression
[INFO] [stdout]     |
[INFO] [stdout] note: this expression has type `config::Config`, which is uninhabited
[INFO] [stdout]    --> src/config.rs:873:28
[INFO] [stdout]     |
[INFO] [stdout] 873 |                 assert_eq!(build_config_with_env(None).headers(), &default_headers());
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `otlp-exporter` (lib test) due to 5 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8d3c2fab035ab166aede0c9b468803a1c3854ea98ccc873e08cc84ec9d8c99ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d3c2fab035ab166aede0c9b468803a1c3854ea98ccc873e08cc84ec9d8c99ef", kill_on_drop: false }`
[INFO] [stdout] 8d3c2fab035ab166aede0c9b468803a1c3854ea98ccc873e08cc84ec9d8c99ef
